﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000CC5 RID: 3269
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class OpenTreasureDungeonGridCsReq : IMessage<OpenTreasureDungeonGridCsReq>, IMessage, IEquatable<OpenTreasureDungeonGridCsReq>, IDeepCloneable<OpenTreasureDungeonGridCsReq>, IBufferMessage
	{
		// Token: 0x1700291D RID: 10525
		// (get) Token: 0x060091FE RID: 37374 RVA: 0x0018383D File Offset: 0x00181A3D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<OpenTreasureDungeonGridCsReq> Parser
		{
			get
			{
				return OpenTreasureDungeonGridCsReq._parser;
			}
		}

		// Token: 0x1700291E RID: 10526
		// (get) Token: 0x060091FF RID: 37375 RVA: 0x00183844 File Offset: 0x00181A44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return OpenTreasureDungeonGridCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700291F RID: 10527
		// (get) Token: 0x06009200 RID: 37376 RVA: 0x00183856 File Offset: 0x00181A56
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return OpenTreasureDungeonGridCsReq.Descriptor;
			}
		}

		// Token: 0x06009201 RID: 37377 RVA: 0x0018385D File Offset: 0x00181A5D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OpenTreasureDungeonGridCsReq()
		{
		}

		// Token: 0x06009202 RID: 37378 RVA: 0x00183865 File Offset: 0x00181A65
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OpenTreasureDungeonGridCsReq(OpenTreasureDungeonGridCsReq other) : this()
		{
			this.gridId_ = other.gridId_;
			this.hMPPFGCIFJK_ = other.hMPPFGCIFJK_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06009203 RID: 37379 RVA: 0x00183896 File Offset: 0x00181A96
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OpenTreasureDungeonGridCsReq Clone()
		{
			return new OpenTreasureDungeonGridCsReq(this);
		}

		// Token: 0x17002920 RID: 10528
		// (get) Token: 0x06009204 RID: 37380 RVA: 0x0018389E File Offset: 0x00181A9E
		// (set) Token: 0x06009205 RID: 37381 RVA: 0x001838A6 File Offset: 0x00181AA6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GridId
		{
			get
			{
				return this.gridId_;
			}
			set
			{
				this.gridId_ = value;
			}
		}

		// Token: 0x17002921 RID: 10529
		// (get) Token: 0x06009206 RID: 37382 RVA: 0x001838AF File Offset: 0x00181AAF
		// (set) Token: 0x06009207 RID: 37383 RVA: 0x001838B7 File Offset: 0x00181AB7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint HMPPFGCIFJK
		{
			get
			{
				return this.hMPPFGCIFJK_;
			}
			set
			{
				this.hMPPFGCIFJK_ = value;
			}
		}

		// Token: 0x06009208 RID: 37384 RVA: 0x001838C0 File Offset: 0x00181AC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as OpenTreasureDungeonGridCsReq);
		}

		// Token: 0x06009209 RID: 37385 RVA: 0x001838CE File Offset: 0x00181ACE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(OpenTreasureDungeonGridCsReq other)
		{
			return other != null && (other == this || (this.GridId == other.GridId && this.HMPPFGCIFJK == other.HMPPFGCIFJK && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600920A RID: 37386 RVA: 0x0018390C File Offset: 0x00181B0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.GridId != 0U)
			{
				num ^= this.GridId.GetHashCode();
			}
			if (this.HMPPFGCIFJK != 0U)
			{
				num ^= this.HMPPFGCIFJK.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600920B RID: 37387 RVA: 0x00183964 File Offset: 0x00181B64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600920C RID: 37388 RVA: 0x0018396C File Offset: 0x00181B6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600920D RID: 37389 RVA: 0x00183978 File Offset: 0x00181B78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.GridId != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.GridId);
			}
			if (this.HMPPFGCIFJK != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.HMPPFGCIFJK);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600920E RID: 37390 RVA: 0x001839D4 File Offset: 0x00181BD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.GridId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GridId);
			}
			if (this.HMPPFGCIFJK != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.HMPPFGCIFJK);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600920F RID: 37391 RVA: 0x00183A2C File Offset: 0x00181C2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(OpenTreasureDungeonGridCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.GridId != 0U)
			{
				this.GridId = other.GridId;
			}
			if (other.HMPPFGCIFJK != 0U)
			{
				this.HMPPFGCIFJK = other.HMPPFGCIFJK;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009210 RID: 37392 RVA: 0x00183A7C File Offset: 0x00181C7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06009211 RID: 37393 RVA: 0x00183A88 File Offset: 0x00181C88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					if (num != 112U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.HMPPFGCIFJK = input.ReadUInt32();
					}
				}
				else
				{
					this.GridId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040037A5 RID: 14245
		private static readonly MessageParser<OpenTreasureDungeonGridCsReq> _parser = new MessageParser<OpenTreasureDungeonGridCsReq>(() => new OpenTreasureDungeonGridCsReq());

		// Token: 0x040037A6 RID: 14246
		private UnknownFieldSet _unknownFields;

		// Token: 0x040037A7 RID: 14247
		public const int GridIdFieldNumber = 8;

		// Token: 0x040037A8 RID: 14248
		private uint gridId_;

		// Token: 0x040037A9 RID: 14249
		public const int HMPPFGCIFJKFieldNumber = 14;

		// Token: 0x040037AA RID: 14250
		private uint hMPPFGCIFJK_;
	}
}
